package com.ruoyi.tranShort.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.tranShort.domain.WristDeviceSetting;
import com.ruoyi.tranShort.domain.WristDeviceTime;
import com.ruoyi.tranShort.domain.request.WristletRequest;

import java.util.Map;

/**
 * @author wwy
 * @date 2021-08-13 14:44
 */
public interface IWristletService {

    /**
     * 手动叫哨
     * @param wristletRequest
     * @return
     */
    AjaxResult manualSend(WristletRequest wristletRequest);

    /**
     * 执行定时叫哨方法
     * @param schedulingDateId
     * @param startTimeQuantum
     * @param endTimeQuantum
     */
    public void executeWristlet(Long schedulingDateId,String startTimeQuantum,String endTimeQuantum);

    /**
     * 同步时间
     * @param wristDeviceTime
     * @return
     */
    int synchronizationTime(WristDeviceTime wristDeviceTime);

    /**
     * 设置参数
     * @param wristDeviceSetting
     * @return
     */
    int setting(WristDeviceSetting wristDeviceSetting);
}
